package com.bothin.experiment4.form;

import lombok.Data;


import javax.validation.constraints.*;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;

/**
 * Created by bothin
 * At 2019/12/18 9:36
 * Description:
 */
@Data
public class ContactForm {
    private String contactId;

    @NotBlank(message = "客户必填")
    private String customerId;

    @NotNull(message = "客户必填")
    private Integer employeeId;

    private String createTime;

    @Size(min = 1,message="商品至少填写一个以上")
    private String[] productId;

    @Size(min = 1,message="商品至少填写一个以上")
    private Integer[] productQuantity;
    /**
     * 总价格
     */
    private BigDecimal money;

}
